from ftllibs.items.itemtools import ItemIconData

class Item_3072():
    def __init__(self):
        self.parent=False
        self.Name="The Bloodthirster"
        self.IconFileName="3072.png"
        self.ID=3072
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1038','1053']
        self.Builds_Into=[]
        self.Tags=['damage','life_steal']
        self.Costs = 900
        self.Total_Costs = 3000
        self.Description="+60 Attack Damage +12% Life Steal  Passive: Gains 1 stack per kill, up to a maximum of 40. Each stack grants +1 Attack Damage and +0.2% Life Steal (max: +40 Attack Damage and +8% Life Steal). Half of the current stacks are lost upon death."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["summonersrift"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Damage += 70.0
        self.parent.Life_Steal += 12.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

